package com.dduggs.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Inherit the java.rmi.Remote interface
 * @author CJS
 */
public interface HelloService extends Remote {

    /**
     * Remote method should throw RemoteException
     * @param data
     * @return str
     * @throws RemoteException
     */
    String service(String data) throws RemoteException;
} 